package com.thams.entity;

/**
 * UserDefine entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class UserDefine implements java.io.Serializable {

	// Fields
	/**
	 * 序号
	 */
	private String cid;
	/**
	 * 参数取值
	 */
	private String cvalue;
	/**
	 * 代码
	 */
	private String calias;
	/**
	 * 对应条形码编码
	 */
	private String cbarCode;
	/**
	 * 时间戳
	 */
	private String pubufts;

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getCvalue() {
		return cvalue;
	}

	public void setCvalue(String cvalue) {
		this.cvalue = cvalue;
	}

	public String getCalias() {
		return this.calias;
	}

	public void setCalias(String calias) {
		this.calias = calias;
	}

	public String getCbarCode() {
		return this.cbarCode;
	}

	public void setCbarCode(String cbarCode) {
		this.cbarCode = cbarCode;
	}

	public String getPubufts() {
		return this.pubufts;
	}

	public void setPubufts(String pubufts) {
		this.pubufts = pubufts;
	}

	public String toJSON() {
		StringBuilder sb = new StringBuilder("{");
		sb.append("\"cid\":").append("\"" + cid + "\",");
		sb.append("\"cvalue\":").append("\"" + cvalue + "\",");
		sb.append("\"calias\":").append("\"" + calias + "\",");
		sb.append("\"cbarCode\":").append("\"" + cbarCode + "\",");
		sb.append("\"pubufts\":").append("\"" + pubufts + "\"");
		sb.append("}");
		return sb.toString();
	}

}